package com.yang.design_patterns.template_method.callback;

/**
 * @Description:
 * @Author: 杨 强
 * @CreateTime: 2022-11-08 16:24
 */
public class BClass {

    public void process(ICallback callback){
        // 业务逻辑....

        // 执行回调
        callback.methodToCallBack();

        // 业务逻辑.....
    }

}
